package com.atguigu.gmall.msg;

import lombok.Data;

import java.util.List;

/**
 * @Description
 * @Return
 * @Author https://weiranyi.github.io
 * @Date Created in 2022-12-24 08:11
 **/
@Data
public class WareStockMsg extends BaseUniqueIdentifierMsg {
    private Long orderId; // 订单系统的订单ID
    private String consignee; // 收货人
    private String consigneeTel; // 收货电话
    private String orderComment; // 订单备注
    private String orderBody; // 订单概要
    private String deliveryAddress; // 发货地址
    private String paymentWay = "2"; // 支付方式：  ‘1’ 为货到付款，‘2’为在线支付
    private List<Sku> details;

    @Data
    public static class Sku {
        private Long skuId;
        private Integer skuNum;
        private String skuName;
    }
}
